<!doctype html>
<html>
<head>
    <title>资金管理操作日志</title>
    <?php $this->load->module('admin/index/page_header');?>
    <script type="text/javascript" src="<?php echo URLPRE;?>static/public/Lib/Kalendajs/build/kalendae.standalone.js"></script>
    <link href="<?php echo URLPRE;?>static/public/Lib/Kalendajs/build/kalendae.css" rel="stylesheet" />
</head>
<body>
<div class="wrap J_check_wrap">
    <div class="nav">
        <ul>
            <li class="current"><a  href="javascript:void(0)">资金操作日志查询</a></li>
            <li><a href="<?php echo site_url('admin/adminuser/index')?>">管理员列表</a></li>
        </ul>
    </div>
    <form method="post" action="">
        <div class="table_list" id="content">
            <table width="100%">
                <tbody>
                <tr>
                    <td>
                        管理员ID <input type="text" value="<?php echo $condition['user_id']?>" placeholder="管理员ID" name="id" class="input rounded" size="20" />&nbsp;&nbsp;
                        名称 <input type="text" value="<?php echo $condition['name']?>" placeholder="管理员名称" name="name" class="input rounded" size="20" />&nbsp;&nbsp;
                        编号 <input type="text" value="<?php echo $condition['num']?>" placeholder="日志编号" name="num" class="input rounded" size="20" />&nbsp;&nbsp;
                        日期 <input type="text" value="<?php echo $condition['start_date']?>" placeholder="开始日期" class="input rounded" name="start_date" id="Kalendae1" />~
                        <input type="text" value="<?php echo $condition['end_date']?>" placeholder="结束日期" class="input rounded" name="end_date" id="Kalendae2" />
                        <input type="submit" class="btn" value="搜索">
                    </td>
                </tr>
                </tbody>
            </table>
            <table width="100%">
                <thead>
                <tr>
                    <td>ID</td>
                    <td>用户名</td>
                    <td>说明</td>
                    <td>操作金额</td>
                    <td>资金类型</td>
                    <td>操作者</td>
                    <td>操作时间</td>
                </tr>
                <?php if($list):?>
                <tbody>
                <?php foreach($list as $val):?>
                    <tr>
                        <td><?php echo $val['id'];?></td>
                        <td><?php echo $val['name'];?></td>
                        <td><?php echo $val['remark'];?><?php if($val['status']==0&&$val['cash_type']==3)echo '已申请未到账'?></td>
                        <td><?php echo $type_value[$val['type']].$val['money'];?></td>
                        <td><?php echo $cash_type_value[$val['cash_type']];?></td>
                        <td><?php echo $val['add_admin_username'];?></td>
                        <td><?php echo $val['add_time'];?></td>
                    </tr>
                <?php endforeach;?>
                </tbody>
                <?php endif;?>
            </table>
        </div>
    </form>
    <div class="page_nav">
        <?php echo $this->mypageclass->show(2); ?>
    </div>
</div>
<script type="text/javascript">
    var kal_dae1 = new Kalendae.Input('Kalendae1', {
        months:1,
        mode:'single',
        format:'YYYY-MM-DD'
    });
    var kal_dae2 = new Kalendae.Input('Kalendae2', {
        months:1,
        mode:'single',
        format:'YYYY-MM-DD'
    });
</script>
</body>
</html>